-
Notifications
You must be signed in to change notification settings - Fork 7
Refactor to run all calculations in separate directories #220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hello @elinscott! Thanks for updating this PR.
Comment last updated at 2024-06-27 10:28:10 UTC |
…workflow names work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the huge amount of work!
[celebrate] Colonna Nicola reacted to your message:
…________________________________
From: Edward Linscott ***@***.***>
Sent: Thursday, October 10, 2024 12:00:38 PM
To: epfl-theos/koopmans ***@***.***>
Cc: Colonna Nicola ***@***.***>; Review requested ***@***.***>
Subject: Re: [epfl-theos/koopmans] Refactor to run all calculations in separate directories (PR #220)
Merged #220<#220> into master.
—
Reply to this email directly, view it on GitHub<#220 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AHJDRFOQYELN7JBM522QCPTZ2ZT6NAVCNFSM6AAAAABHKOGZYWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGU4TAMBWGI3DAOA>.
You are receiving this because your review was requested.Message ID: ***@***.***>
|
Summary
This refactor of the code contains several changes designed to make
koopmans
more robust and amenable to integration withAiiDA
. Namely...tmp
directoriesFilePointer
class) so that it will be possible to "move" files on a remote serverProcess
class to make python operations on files etc. more standardized (and able to be executed remotely)These changes to treat calculations more like pure functions, and the introduction of a
Process
class also starts us in the direction of following CWL's design pattern more closely. In the long term, we would like to be as close as possible to CWL (perhaps even with composite workflows being able to be written in CWL).Other changes
koopmans
markdown-compliant, making the output files easier to read for humans.kwf
files have been replaced by.pkl
files (removing the responsibility of writingWorkflows
to file from custom code and using the widely-useddill
package instead)